#ifndef __CLIENT_HTTP_H__
#define __CLIENT_HTTP_H__

#define CLIENTSIZE          65535 + 65535
#define HEADSIZE            65535
#define METHODSIZE          32
#define URLSIZE             1024
#define HOSTSIZE            1024
#define CONTENTTYPESIZE     128
#define CONTENTLENGTHSIZE   32

char *HTTPClient();
char *HTTPRequest(char *httpClient, char *content, int sock, char *method, char *url, char *host, char *contentType);
char *HTTPHead(char *method, char *url, char *host, char *contentType, int len);
int FreeHTTPClient(char *httpClient);
int FreeHTTPHead(char *httpHead);
int Free(char *heap);
int NumDigit(int num);

#endif

